<?php
/**
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace builder\widget;

use yii\base\Widget as BBBWidget;

/**
 * 重写小组件继承类
 * @author cleverstone
 * @since ym2.0
 */
class BaseWidget extends BBBWidget
{
    /**
     * Returns the directory containing the view files for this widget.
     * The default implementation returns the 'views' subdirectory under the directory containing the widget class file.
     * @return string the directory containing the view files for this widget.
     */
    public function getViewPath()
    {
        return __DIR__ . '/views';
    }
}